package com.example.demo.constants;

public class ContractConstants {
  public static String DigitalRightsAbi;

  public static String DigitalRightsBinary;

  public static String DigitalRightsGmBinary;

  static {
    try {
      DigitalRightsAbi = org.apache.commons.io.IOUtils.toString(Thread.currentThread().getContextClassLoader().getResource("abi/DigitalRights.abi"));
      DigitalRightsBinary = org.apache.commons.io.IOUtils.toString(Thread.currentThread().getContextClassLoader().getResource("bin/ecc/DigitalRights.bin"));
      DigitalRightsGmBinary = org.apache.commons.io.IOUtils.toString(Thread.currentThread().getContextClassLoader().getResource("bin/sm/DigitalRights.bin"));
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
}
